package com.msmall.community.bbs.action.wml;

import java.util.List;

import com.msmall.community.bbs.model.Board;
import com.msmall.community.bbs.model.Topic;
import com.msmall.community.bbs.service.BoardManager;


public class IndexAction extends BBSBaseAction{

	private static final long serialVersionUID = -9220950961439118857L;
	
	private List<Board> boards;
	
	private List<Topic> topics1;
	
	private List<Topic> topics2;
	
	private List<Topic> topics3;
	
	private List<Topic> topics4;
	
	private BoardManager boardManager;
	
	public String execute(){
		log.debug("*******************bbs.IndexAction.execute*************");
		// 载入所有版区信息
		return "mainTemplate";
	}

	public void setBoardManager(BoardManager boardManager) {
		this.boardManager = boardManager;
	}

	public List<Board> getBoards() {
		return boards;
	}

	public void setBoards(List<Board> boards) {
		this.boards = boards;
	}

	public List<Topic> getTopics1() {
		return topics1;
	}

	public void setTopics1(List<Topic> topics1) {
		this.topics1 = topics1;
	}

	public List<Topic> getTopics2() {
		return topics2;
	}

	public void setTopics2(List<Topic> topics2) {
		this.topics2 = topics2;
	}

	public List<Topic> getTopics3() {
		return topics3;
	}

	public void setTopics3(List<Topic> topics3) {
		this.topics3 = topics3;
	}

	public List<Topic> getTopics4() {
		return topics4;
	}

	public void setTopics4(List<Topic> topics4) {
		this.topics4 = topics4;
	}
}
